package cn.chenhongchao.zhaobiaopingtai.service;

import cn.chenhongchao.zhaobiaopingtai.common.api.CommonPage;
import cn.chenhongchao.zhaobiaopingtai.dto.*;
import cn.chenhongchao.zhaobiaopingtai.entity.BusinessBid;
import cn.chenhongchao.zhaobiaopingtai.entity.Tender;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ITenderService extends IService<Tender> {
    //中标
    List<Tender> getList(Integer pageNum, Integer pageSize);
    //中标
    List<TenderWinDTO> getList2(Integer pageNum, Integer pageSize);
    //    招标
    List<Tender> getListzhaobiao(Integer pageNum, Integer pageSize);

    List<TenderDTO> getListzhaobiao2(Integer pageNum, Integer pageSize,Integer categorynameIndex
            ,String tenderName);

    List<TenderDTO> getListzhaobiao3(Integer pageNum, Integer pageSize,String tenderNumber
            ,String tenderName);
    //根据主键 获取招标项目信息 和用户信息
    TenderAndUserDTO getTenderByCode(Integer code);

    List<TenderDTO> getTenderEvaluation(Integer pageNum, Integer pageSize);
    CommonPage<OpenBidDTO> getTenderList(Integer pageNum, Integer pageSize, ReturnBidDTO returnBidDTO);

    void getScheduleMax(Integer code, Integer type);

    void getScheduleMax2(Integer code, Integer type);

    CommonPage<BusinessBid> getOpenBusinessList(Integer pageNum, Integer pageSize, ReturnBidDTO returnBidDTO);
}
